<?php get_instance()->view('common/header');?>
<body>
<?php if (!empty($list['list'])): foreach ($list['list'] as $k => $v):?>
    <a href="<?php echo getUrl('dailyMenus/details?id='.$v['id'])?>">
        <div class="daicaibox bor_bb">
            <div class="imgbox mb5"><img src="<?php echo $v['pic']?>" alt=""></div>
            <p class="textEll f075 cor9"><?php echo $v['desc']?></p>
            <h1 class="mbmin"><?php echo $v['title']?></h1>
            <p class="textEll f075 cor9"><?php echo $v['addtime']?></p>
        </div>
    </a>
<?php endforeach; else:?>
    <div class="statebox chuizhi jdjz" style="flex: 1;height: 100%;">
        <img class="stateimgda mb5" src="<?php echo $this->staticUrl?>img/default/2.png" alt="">
        <span class="f09 cor9 tc mb20">暂无数据</span>
        <a href="<?php echo getUrl('user/addAddress')?>" class="daborbtnPub mb10 f12">添加新地址</a>
    </div>
<?php endif;?>
</body>
<script src="<?php echo $this->staticUrl?>js/base.js"></script>
</html>